<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
 * Smarty plugin
 * @package Smarty
 * @subpackage plugins
 */

//ci site_url

function smarty_function_site_url($params, &$smarty) {
	$CI =& get_instance();
    return $CI->config->site_url($params['url']);
}



/* vim: set expandtab: */

?>
